package strategy;

abstract public class BookPriceCategories {
    abstract void BillPricing(double bill);
}

class NormalClients extends BookPriceCategories{
    @Override
    void BillPricing(double bill) {
        System.out.println("total: "+bill);
    }
}

class ImortantClients extends BookPriceCategories{
    @Override
    void BillPricing(double bill) {
        System.out.println("total: "+0.9*bill);
    }
}

class VIPClients extends BookPriceCategories{
    @Override
    void BillPricing(double bill) {
        System.out.println("total: "+0.8*bill);
    }
}